﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Member_Master.Master" AutoEventWireup="true" CodeBehind="M_Basicinformation.aspx.cs" Inherits="WebApplication.M_Basicinformation" %>
<%@ Register TagPrefix="uc1" TagName="usermeg" Src="~/UserControl/M_UserMessageControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="maintab" Src="~/UserControl/M_MainTabControl.ascx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Media/Css/master2.css" rel="stylesheet" media="all"/>
<link href="Media/Css/PeterCss.css" rel="Stylesheet" media="all" />
<link href="Media/Css/jquery.lightbox-0.5.css" rel="Stylesheet" />
<link href="media/js/jquery.uploadify-v2.1.4/uploadify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="Media/Js/jquery.query.js"></script>
<script type="text/javascript" src="Media/Js/jquery.lightbox-0.5.js"></script>
<script type="text/javascript" src="media/js/jquery.uploadify-v2.1.4/swfobject.js"></script>
<script type="text/javascript" src="media/js/jquery.uploadify-v2.1.4/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript" src="xhEditor/xheditor-zh-cn.min.js"></script>
<script type="text/javascript" src="media/js/jquery-ui-1.8.10.custom.min.js"></script>
<script type="text/javascript" src="Media/Js/jquery.autocomplete.pack.js"></script>
    <style type="text/css"> 
        .borderstyle_red
        {
            border: 1px solid red;
        }
        .ac_results
        {
            background-color: #ccc;
            padding-bottom: 4px;
            opacity: 0.8;
            -moz-opacity: 0.8;
            -webkit-opacity: 0.8;
            -khtml-opacity: 0.8;
            border: 1px solit #000;
        }
    </style>
<script type="text/javascript">
    $(document).ready(function () {
        $('#ImgList .p2 a').lightBox();
        $('#ImgList .showbig').each(function () {
            var self = $(this);
            self.click(function () {
                self.parents("li").find(".p2 img").click();
            });
        });

        //初始化 mediaroom 图片点击事件
        $('#smallImgList .slist li img').click(function () {
            mediaroom_pic_click($(this));
        });

        $('#ContentPlaceHolder2_txtIntro_en').xheditor({ tools: 'full' });
        $('#ContentPlaceHolder2_txtIntro_hk').xheditor({ tools: 'full' });

        //解决ajax请求 富文本编辑器 获不到值问题 ContentPlaceHolder2_LbtnSave
        $('#ContentPlaceHolder2_LbtnSave').click(function () {
            $('#ContentPlaceHolder2_hfTxtIntro_hk').val($('#ContentPlaceHolder2_txtIntro_hk').val());
            $('#ContentPlaceHolder2_hfTxtIntro_en').val($('#ContentPlaceHolder2_txtIntro_en').val());
        });

        ///图片上传初始化 开始
        $("#uploadify").uploadify({
            'uploader': 'media/js/jquery.uploadify-v2.1.4/uploadify.swf',
            'script': 'ServerAshxFile/M_JqueryUploadHandler.ashx',
            'scriptData': { 'mediaType': 'image', 'custuid': '<%=CustUID %>', 'type': 'Customerlogo' },
            'method': 'GET',
            'cancelImg': 'media/js/jquery.uploadify-v2.1.4/cancel.png',
            'folder': 'media/upload/logo',
            'queueID': 'fileQueue',
            'auto': false,
            'multi': false,
            'displayData': 'speed',
            'fileExt': '*.jpg;*.gif;*.png;*.bmp',
            'fileDesc': 'Image Files',
            'sizeLimit': 2512000,
            'onInit': function () { },
            'onSelect': function (e, queueId, fileObj) {
                $('#id_message').html("您选的文件:" + fileObj.name + "\r\n" + "文件大小:" + fileObj.size + "bytes \r\n");
            },
            'onAllComplete': function (event, data) {
                $.get("ServerAshxFile/M_Basicinformation.ashx", { 'type': '2' }, function (data) {
                    $("#smallImgList .imgQu .slist").prepend(data.split('&')[1]);
                    var mediaroomUID = data.split('&')[0];

                    $('#smallImgList .slist li:first').find("img").click(function () {
                        mediaroom_pic_click($(this));
                    });

                    if (mediaroomUID != null) {
                        $.get("ServerAshxFile/M_Basicinformation.ashx", { 'type': '1', 'mediaroomUID': mediaroomUID,'CustomerUID':'<%=CustUID %>' }, function (data) {
                            $("#ImgList").prepend(data);

                            var notbind_media = $("#ContentPlaceHolder2_hfnotbind_media").val();
                            notbind_media = notbind_media.toString() + mediaroomUID + ',';
                            $("#ContentPlaceHolder2_hfnotbind_media").val(notbind_media);

                            $("#ImgList li:first").effect("pulsate", { times: 3 }, 400);
                            $("#smallImgList .imgQu .slist li:first").effect("pulsate", { times: 3 }, 400);

                            //--预览窗口重新初始化 开始
                            $('#ImgList .p2 a').lightBox();
                            $('#ImgList .showbig').each(function () {
                                var self = $(this);
                                self.click(function () {
                                    self.parents("li").find(".p2 img").click();
                                });
                            });
                            //--预览窗口重新初始化 结束

                        });
                    }

                    $('#id_message').html("上传成功！");
                });

            }
        });
        ///图片上传初始化 结束 开始

        ///香港身份证 输入框 事件
//        var hkid = $("#ContentPlaceHolder2_txtHKID_PassportNo");
//        hkid.val(secretchar($("#ContentPlaceHolder2_hfHKID_PassprotNo").val()));
//        
//        hkid.focusin(function () {
//            $(this).val('');
//        });

//        hkid.focusout(function () {
//            if ($(this).val().trim().length == 0) {
//                $(this).val(secretchar($("#ContentPlaceHolder2_hfHKID_PassprotNo").val()));
//            }
//            else {
//                $("#ContentPlaceHolder2_hfHKID_PassprotNo").val($(this).val());
//                $(this).val(secretchar($("#ContentPlaceHolder2_hfHKID_PassprotNo").val()));
//            }
//        });
        ///香港身份证 输入框 事件 结束

        //自动完成填充 推荐人 开始
        //var custidlist = '';//
        // var websites = custidlist.split('&');
        //$("#ContentPlaceHolder2_txtReferralBy").autocomplete(websites);
        //自动完成填充 推荐人 结束

        //验证字段不能空
//        var validate_box = ["ContentPlaceHolder2_txtCustomerSince", "ContentPlaceHolder2_ddlCustomerType", "ContentPlaceHolder2_txtCustomerName_en", "ContentPlaceHolder2_txtCustomerName_hk"];
//        $.each(validate_box, function (k, v) {
//            var c = $("#" + v);
//            c.focusout(function () {
//                validate_null(c);
//            });
//        });

//        //验证非负整数
//        $("#ContentPlaceHolder2_txtStroke").focusout(function () {
//            validate_num($(this));
//        });
//        //验证员工数量
//        $("#ContentPlaceHolder2_txtNo_ofEmployee").focusout(function () {
//            validate_num($(this));
//        });
    });

    //输入框部分文字星号
    function secretchar(value) {       
        var ret = value;
        if (value.trim() != '' && value.trim().length > 4) {
            var length = value.trim().length;
            var star = "";
            for (i = 0; i < length - 4; i++) {
                star += "*";
            }
            ret = value.trim().substring(0, 3) + star + value.trim().substring(length - 1);
        }
        return ret;
    }

    function choice_pic() {
    var Cuid=<%=UID %>;
        //if ($.query.get("cuid") == '') {
        if (Cuid<0) {
            $('#id_message').html("Customer基本信息添加之前，暂时不能上传图片.");
            return;
        }
        $('#uploadify').uploadifyUpload();
        $('#ContentPlaceHolder2_lblMessage').html('');
    }

    function GetOneMediaRoomRelated(mediaroomUID) {
        $('#id_message').html("");
        var notbind_media = $("#ContentPlaceHolder2_hfnotbind_media").val();
        if (notbind_media.toString().indexOf(mediaroomUID) == -1) {
            $.get("ServerAshxFile/M_Basicinformation.ashx", { 'type': '1', 'mediaroomUID': mediaroomUID,'CustomerUID':<%=CustUID %> },
                        function (data) {
                            $("#ImgList").prepend(data);
                            $("#ImgList li:first").effect("pulsate", { times: 2 }, 400);

                            //--预览窗口重新初始化 开始
                            $('#ImgList .p2 a').lightBox();
                            $('#ImgList .showbig').each(function () {
                                var self = $(this);
                                self.click(function () {
                                    self.parents("li").find(".p2 img").click();
                                });
                            });
                            //--预览窗口重新初始化 结束
                        });

            notbind_media = notbind_media.toString() + mediaroomUID + ',';
            $("#ContentPlaceHolder2_hfnotbind_media").val(notbind_media)
        }
        else {
            $('#id_message').html("不允许重复添加该图片！");
        }
    }

    function delMediaRoomRelated(mediaroomUID) {
        ToggleDocument('ConfirmBox');
        $("#id_confirm_message").html("确定删除吗？");
        $("#id_confire_event").attr("href", "javascript:delMediaRoomRelated_real(" + mediaroomUID + ")");
    }

    function delMediaRoomRelated_real(mediaroomUID) {
        if (mediaroomUID != null) {
            $("#mediaroom_" + mediaroomUID).hide("explode", { pieces: 18 }, 800);
            $("#mediaroom_" + mediaroomUID).remove();
            var notbind_media = $("#ContentPlaceHolder2_hfnotbind_media").val();
            notbind_media = notbind_media.toString().replace(mediaroomUID + ',', '');
            $("#ContentPlaceHolder2_hfnotbind_media").val(notbind_media);
            $('#ContentPlaceHolder2_lblMessage').html('');
        }
        ToggleDocument('ConfirmBox');
    }

    //mediaroom 图片点击事件
    function mediaroom_pic_click(img) {
        if (img != null) {
            img.toggleClass('selectedImg');
            var mediaroomUID = img.attr('alt');
            GetOneMediaRoomRelated(mediaroomUID);
            $('#ContentPlaceHolder2_lblMessage').html('');
        }
    }


    function submitCheck() {
    }


    ///验证非空的textBox
    function validate_null(c) {
        if (c.val().trim() == "") {
            c.css("border", "1px solid red");
            $("#valid_" + c.attr("id").substring(20, c.attr("id").length)).css("visibility", "visible");

            //$("#valid_" + c.attr("id").substring(20, c.attr("id").length)).val("这个字段不能为空！");
            //alert("#valid_" + c.attr("id").substring(20, c.attr("id").length));
            return false;
        }
        else {
            c.css("border", "");
            $("#valid_" + c.attr("id").substring(20, c.attr("id").length)).css("visibility", "hidden");
            return true;
        }
    }
    //验证非空的textBox 结束

    ///验证非负整数 逻辑
    function validate_num(c) {
        var c_val = c.val().trim();
        if (c_val != "") {
            if (isInteger(c_val)) {
                c.css("border", "");
                $("#valid_" + c.attr("id").substring(20, c.attr("id").length)).css("visibility", "hidden");
                return true;
            }
            else {
                c.css("border", "1px solid red");
                $("#valid_" + c.attr("id").substring(20, c.attr("id").length)).css("visibility", "visible");
                $("#validate_null").val("false");
                //$("#valid_" + c.attr("id").substring(20, c.attr("id").length)).val("要求整数类型！");
                return false;
            }
        }
        else {
            c.css("border", "");
            $("#valid_" + c.attr("id").substring(20, c.attr("id").length)).css("visibility", "hidden");
            return true;
        }
    }

    //非负整数 正则表达式验证
    function isInteger(str) {
        var reg = /^[0-9]\d*$/;
        return reg.test(str);
    }

    function GetInfo() {
        checkMedio();
        $('#ContentPlaceHolder2_hfTxtIntro_hk').val($('#ContentPlaceHolder2_txtIntro_hk').val());
        $('#ContentPlaceHolder2_hfTxtIntro_en').val($('#ContentPlaceHolder2_txtIntro_en').val());
        $("#ContentPlaceHolder2_lblMeg").html("");
        if ($("#ContentPlaceHolder2_lkBtnSave").hasClass("aspNetDisabled").toString() != "true") {
            $("#ContentPlaceHolder2_lblMeg").html("Data being processed, please wait...");
        } else {
            $("#ContentPlaceHolder2_lblMeg").html("You currently do not have permission to operate...");
        }     
    }

    function Quit() {
        $("#ContentPlaceHolder2_lblMeg").html("Cancel your operation...");
    }

    function checkMedio() {
            var temp = 0;
            var oldStr = $("#ContentPlaceHolder2_Oldhfnotbind_media").val();
            var newStr = $("#ContentPlaceHolder2_hfnotbind_media").val();
            $("#ContentPlaceHolder2_tempVal").attr("value", 0)
            var oldVal = oldStr.substring(0, oldStr.length - 1).split(",");
            var newVal = newStr.substring(0, newStr.length - 1).split(",");
            
            if (oldVal.length != newVal.length) {
                $("#ContentPlaceHolder2_tempVal").attr("value", 1)
            } else {
                for (i = 0; i < oldVal.length; i++) {
                    for (j = 0; j < newVal.length; j++) {
                        if (oldVal[i] == newVal[j]) {
                            temp++;
                            break;
                        }
                    }
                }
                if (temp != oldVal.length) {
                    $("#ContentPlaceHolder2_tempVal").attr("value", 1)
                }
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <ajax:ToolkitScriptManager EnablePartialRendering="true" runat="Server" ID="ScriptManager1" />
 <div class="content-title">
        <h1>
            Membership Info</h1>
    </div>
    <input type="hidden" value="t1" id="pageName" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <uc1:usermeg ID="usermeg" runat="server" ></uc1:usermeg>

<div class="partWrap">
   <uc1:maintab ID="maintab"  runat="server"/>	
    <div class="clear10"></div>

    <table border="0" cellpadding="0" cellspacing="0" width="100%" class="basiform">
	<tbody>
	  <tr>
	   <td width="25%">
	    <p class="upinput">Customer Since</p>
        <asp:TextBox ID="CustomerSince" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
	   <td width="25%">
	    <p class="upinput">Customer Type</p>
        <asp:TextBox ID="CustomerType" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
	   <td width="25%">
	    <p class="upinput">Customer ID</p>
        <asp:TextBox ID="CustomerID" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
       <td width="25%"></td>
	  </tr>
      <tr>
	   <td colspan="2">
	    <p class="upinput">Customer Name<span style="color:red"><sup>*</sup></span></p>
        <asp:TextBox ID="CustomerName" runat="server" Enabled="false" CssClass="input500"></asp:TextBox>
	   </td>
	   <td colspan="2">
	    <p class="upinput">客户名稱<span style="color:red"><sup>*</sup></span></p>
        <asp:TextBox ID="CustomerName_Chi" runat="server" Enabled="false" CssClass="input500"></asp:TextBox>
	   </td>
	  </tr>
	  <tr>
	   <td>
	    <p class="upinput">Year Established</p>
        <asp:TextBox ID="YearEstablished" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
	   <td>
	    <p class="upinput">NO. of employee</p>
        <asp:TextBox ID="NoOfEmplogyee" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
	   <td>
	    <p class="upinput">BR</p>
        <asp:TextBox ID="BR" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
       <td width="25%"></td>
	  </tr>
	  <tr>
	   <td>
	    <p class="upinput">HKID / Passport No.</p>
        <asp:TextBox ID="txtHKID_PassportNo" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
        <asp:HiddenField ID="hfHKID_PassprotNo" runat="server" />
	   </td>
	   <td>
	    <p class="upinput">Membership Since</p>
        <asp:TextBox ID="MembershipSince" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
	   <td>
	    <p class="upinput">Referral By</p>
        <asp:TextBox ID="ReferralBy" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
       <td width="25%"></td>
	  </tr>
	  <tr>
	   <td>
	    <p class="upinput">Referral Date</p>
        <asp:TextBox ID="ReferralDate" runat="server" Enabled="false" CssClass="input200"></asp:TextBox>
	   </td>
       <td width="25%"></td>
       <td width="25%"></td>
       <td width="25%"></td>
	  </tr>
	  <tr><td class="tdh20" colspan="3"></td></tr>
	  <tr>
	   <td colspan="3">
	    <p class="upinput">Introduction</p>
        <asp:TextBox ID="txtIntro_en" runat="server" CssClass="textarea800_170" Rows="5" TextMode="MultiLine"></asp:TextBox>
        <asp:HiddenField ID="hfTxtIntro_en" runat="server" />
        <asp:HiddenField ID="OldIntro_en" runat="server" />
	   </td>
	  </tr>
	  <tr><td class="tdh20" colspan="3"></td></tr>
	  <tr>
	   <td colspan="3">
	    <p class="upinput">簡介</p>
        <asp:TextBox ID="txtIntro_hk" runat="server" CssClass="textarea800_170" Rows="5" TextMode="MultiLine"></asp:TextBox>
        <asp:HiddenField ID="hfTxtIntro_hk" runat="server" />
        <asp:HiddenField ID="OldIntro_hk" runat="server" />
	   </td>
	  </tr>
      <tr>
        <td colspan="3" height="20">
            <%--弹出提示框 confirm 开始--%>
            <div class="msgBoxPS">
                <div class="SendEmailBox" id="ConfirmBox">
                    <table width="100%" border="0">
                        <tr>
                            <td>
                                <h4>
                                    <img src="Media/Css/images/del-select.png" class="closeBtn" onclick="ToggleDocument('ConfirmBox');"
                                        alt="" /><strong>确定信息.</strong></h4>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table id="Table1" width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td>
                                            <span id="id_confirm_message" style="color: red; font-weight: bold;"></span>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table border="0" cellspacing="0" cellpadding="0" class="btnwrap">
                        <tr>
                            <td class="btnwrapl">
                                <ul class="uibtn">
                                    <li><a id="id_confire_event" href='javascript:ToggleDocument("ConfirmBox")'>Yes</a></li>
                                </ul>
                            </td>
                            <td class="btnwrapr">
                                <ul class="uibtn">
                                    <li><a href='javascript:ToggleDocument("ConfirmBox")'>No</a></li>
                                </ul>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <%--弹出提示框 confirm 结束--%>
        </td>
      </tr>
	  <tr>
        <td class="tdh20" colspan="3">
        </td>
      </tr>
	  <tr>
	    <td colspan="3">
		  <table width="520">
		    <tr>
			  <td valign="top">
			   <p><strong>Logo / Trademark（Size: 220px*220px）</strong></p>
			   <%--<p class="italicTxt">Your computer upload path <input type="image" src="Media/Css/images/del-form.png"></p>--%>
			  </td>
			  <td valign="top">
                <div class="addWrap" style="margin-bottom: 10px;">
                    <ul class="uibtn">
                        <li onclick="javascript:ToggleDocument('smallImgList')"><span>add</span>
                        </li>
                    </ul>
                    <div class="smallImgList" id="smallImgList">
                        <table width="100%">
                            <tr>
                                <td>
                                    <img class="closeBtn" alt="" src="Media/Css/images/del-form.png" onclick="CloseDocument('smallImgList')" /><h4>
                                        Choose from Media Room</h4>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="imgQu">
                                        <ul class="slist">
                                            <asp:Repeater ID="rp_mediaroom" runat="server">
                                                <ItemTemplate>
                                                    <li>
                                                        <asp:Image ID="imgMedia" runat="server" ImageUrl='<%#JoinPath(Eval("FilePath"),Eval("FileName"),"_50_50",".jpg") %>'
                                                            AlternateText='<%#Eval("AppMediaRoomUID") %>' CssClass="" />
                                                    </li>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            <asp:HiddenField ID="mediaroomBound" runat="server" />
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td height="35">
                                    <h4>Upload image from your computer </h4>
                                    <div id="fileQueue">
                                    </div>
                                    <br />
                                    <span id="id_message" style="background-color: #ffc; color: Red;"></span>
                                </td>
                            </tr>
                            <tr>
                                <td height="35">
                                    <table border="0" cellspacing="0" cellpadding="0" class="btnwrap">
                                        <tr>
                                            <td>
                                                <input type="file" name="uploadify" id="uploadify" />
                                            </td>
                                            <td class="">
                                                <ul class="uibtn">
                                                    <li><a id="id_choice_pic" onclick="choice_pic()">Upload</a></li>
                                                </ul>
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
               <!--addWrap end--> 
			  </td>
			</tr> 
		  </table>  
		</td>
	  </tr>
	  <tr><td class="tdh20" colspan="3"></td></tr>
	  <tr>
	    <td colspan="3">
		<ul class="ImgList" id="ImgList">
            <asp:Repeater ID="rpLogo" runat="server">
                <ItemTemplate>
                    <li id='<%# "mediaroom_"+Eval("MediaRoomUID") %>'>
                        <p class="p2">
                            <a href='<%#JoinPath(Eval("FilePath"),Eval("FileName"),"_600_400",".jpg") %>'>
                                <img src='<%# JoinPath(Eval("FilePath"),Eval("FileName"),"_100_100",".jpg") %>' alt='' />
                            </a>
                        </p>
                        <div class="p4">
                            <span class="showbig">View</span> | <span class="closeBtnbig"><a href='javascript:delMediaRoomRelated(<%# Eval("MediaRoomUID") %>)'>
                                Delete</a></span></div>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
            <asp:HiddenField ID="hfnotbind_media" runat="server" />
            <asp:HiddenField ID="Oldhfnotbind_media" runat="server" />
            <asp:HiddenField ID="tempVal" runat="server" />
        </ul>
		</td>
	  </tr>
	</tbody>
    </table>
	
	<div class="clear10"></div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true" UpdateMode="Always" RenderMode="Block">
            <ContentTemplate>
  	    <table width="200" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td width="80">
				 <ul class="uibtn">
                    <li>
    	                <asp:LinkButton ID="LbtnSave" runat="server" OnClick="btnSave_Click" ValidationGroup="1" OnClientClick="return GetInfo()" CssClass="uibtn">Save</asp:LinkButton>
                    </li>
	            </ul>
				</td>
				<td>
				 <ul class="uibtn">
    	             <li>
                        <asp:LinkButton ID="LbtnQuit" runat="server" CssClass="uibtn" 
                             onclick="LbtnQuit_Click">Quit</asp:LinkButton>
                    </li>
	            </ul>
				</td>				
			  </tr>
	     </table>
        <p>
            <asp:Label ID="lblMeg" Text="" ForeColor="Red" runat="server"></asp:Label>
        </p>
        </ContentTemplate>
    </asp:UpdatePanel>
	<p>&nbsp;</p>
</div><!-- partWrap end-->

</asp:Content>
